import {post, get} from './service'

export const loginApi = data => {
    return get({
        url: '/user/login',
        data,
    })
}

export const FoodsListApi = data => {
    return get({
        url: '/foods/list',
        data,
    });
}

// 获取用户列表
export const UsersListApi = data => {
    return get({
        url: '/user/list',
        data,
    });
}